/**
 * @file startserverdialog.h
 * @brief StartServerDialog class definition
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 3 of the License.
 *
 * @author VestniK (Sergey N.Vidyuk) sir.vestnik@gmail.com
 * @date 1 May 2010
 */
#ifndef _StartServerDialog_H_
#define _StartServerDialog_H_

#include "ui_startserverdialog.h"

#include <QtCore/QString>
#include <QtGui/QDialog>

namespace mjn {

   class StartServerDialog: public QDialog, private Ui::StartServerDialog {
      Q_OBJECT
      public:
         explicit StartServerDialog(QWidget *parent = 0);

         QString name() const {return nameEdit->text();}
         quint16 port() const;
   };

}

#endif
